package com.learning.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;


/**
 * 试卷题目表
 *
 * @author mhdtkc
 * @since 2024-5-25
 */
@NoArgsConstructor
@AllArgsConstructor
@Data
@Builder
@TableName("exam_paper_question")
public class ExamPaperQuestion implements Serializable {
    private static final long serialVersionUID = 1L;


    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;


    /**
     * 试卷id
     */
    private Long examPaperId;


    /**
     * 题目id
     */
    private Long questionId;


    /**
     * 题目分值
     */
    private Float questionScore;
}
